@extends('frontend/layouts/flaty_to_bootstrap')

@section('content.titley')
Create new FaxAccount ::
@parent
@stop

    @section('content.breadcrumb.inner')
    <li><a href="{{  route('home') }}"><i class="icon-home"></i> Dashboard</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li><a href="{{  route('car_balance.fax_account.index') }}"><i class="icon-home"></i> FaxAccount list</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li class="active">New FaxAccount </li>
    @stop

@section('content.main')

<p>{{ link_to_route('car_balance.fax_account.index', 'Back to FaxAccount list', null, array('class' => 'btn btn-info')) }}</p>

<div class="row-fluid">
    {{ Form::open(array('route' => 'car_balance.fax_account.create', 'class' => 'form-horizontal')) }}

    <div  class="control-group {{ $errors->first('id', ' error') }}">
        <label class="control-label" for="name">Id</label>
        <div class="controls">
            <input class="" placeholder="Id" title="Id" name="id" type="text" value="{{ Input::old('id') }}">
            {{ $errors->first('id', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div  class="control-group {{ $errors->first('sender', ' error') }}">
        <label class="control-label" for="name">Sender</label>
        <div class="controls">
            <input class="" placeholder="Sender" title="Sender" name="sender" type="text" value="{{ Input::old('sender') }}">
            {{ $errors->first('sender', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div  class="control-group {{ $errors->first('email', ' error') }}">
        <label class="control-label" for="tel">E-mail</label>
        <div class="controls">
            <input class="" placeholder="E-mail" title="E-mail" name="email" type="email" value="{{ Input::old('email') }}">
            {{ $errors->first('email', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div  class="control-group {{ $errors->first('efax_service', ' error') }}">
        <label class="control-label" for="fax">Efax service</label>
        <div class="controls">
            <input class="" placeholder="Efax service" title="Efax service" name="efax_service" type="text" value="{{ Input::old('efax_service') }}">
            {{ $errors->first('efax_service', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div  class="control-group {{ $errors->first('subject', ' error') }}">
        <label class="control-label" for="fax">Subject</label>
        <div class="controls">
            <input class="" placeholder="Subject" title="Subject" name="subject" type="text" value="{{ Input::old('subject') }}">
            {{ $errors->first('subject', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div  class="control-group {{ $errors->first('email_body', ' error') }}">
        <label class="control-label" for="fax">Email body</label>
        <div class="controls">
            <textarea class="" placeholder="Email body" title="Email body" name="email_body" cols="300" rows="10">{{ Input::old('email_body') }}</textarea>
            {{ $errors->first('email_body', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div  class="control-group {{ $errors->first('email_signature', ' error') }}">
        <label class="control-label" for="fax">Email signature</label>
        <div class="controls">
            <textarea class="" placeholder="Email signature" title="Email signature" name="email_signature" cols="50" rows="10">{{ Input::old('email_signature') }}</textarea>
            {{ $errors->first('email_signature', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('email_password', ' error') }}">
        <label class="control-label" for="fax">Email password</label>
        <div class="controls">
            <input class="" placeholder="Email password" title="Email password" name="email_password" type="password" value="{{ Input::old('email_password') }}">
            {{ $errors->first('email_password', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div  class="control-group {{ $errors->first('email_host', ' error') }}">
        <label class="control-label" for="fax">Email host</label>
        <div class="controls">
            <input class="" placeholder="Email host" title="Email host" name="email_host" type="text" value="{{ Input::old('email_host') }}">
            {{ $errors->first('email_host', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div  class="control-group {{ $errors->first('email_protocol', ' error') }}">
        <label class="control-label" for="fax">Email protocol</label>
        <div class="controls">
            <input class="" placeholder="Email protocol" title="Email protocol" name="email_protocol" type="text" value="{{ Input::old('email_protocol') }}">
            {{ $errors->first('email_protocol', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div  class="control-group {{ $errors->first('email_encryption', ' error') }}">
        <label class="control-label" for="fax">Email encryption</label>
        <div class="controls">
            <input class="" placeholder="Email encryption" title="Email encryption" name="email_encryption" type="text" value="{{ Input::old('email_encryption') }}">            {{ $errors->first('email_encryption', '<span class="help-inline">:message</span>') }}
        </div>
    </div>


    <div class="form-actions">
        {{  Form::submit('Submit', array('class' => 'btn btn-info')) }} &nbsp;&nbsp;
        {{  link_to_route('car_balance.fax_account.index', 'Cancel', null, array('class' => 'btn ')) }}
    </div>
    {{  Form::close() }}
@stop